package com.young.springboot.log.entity.jpa;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.Type;
import org.hibernate.annotations.UpdateTimestamp;
import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

@Data
@Entity
@Table(name = "user", catalog = "")
public class UserEntity implements Serializable {


	private static final long serialVersionUID = 5491390073527574565L;

	/**
	 * null
	 */
	@Id
	@Column(name = "id", nullable = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * null
	 */
	@Basic
	@Column(name = "name")
	private String name;

}
